package com.bdqn.pojo;

public class Modelpojo {
    public int id;
    public String brand;
    public int bid;//品牌外键
    public String name;//型号
    public int ram;//运行内存
    public int gb;//储存空间
    public String color;//颜色
    //public int num;//库存数量
    public int price;//价格

    public Modelpojo(){}

    public Modelpojo(int id, int bid, String name, int ram, int gb, String color, int price,String brand) {
        this.id = id;
        this.bid = bid;
        this.name = name;
        this.ram = ram;
        this.gb = gb;
        this.color = color;
        this.price = price;
        this.brand = brand;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getBid() {
        return bid;
    }

    public void setBid(int bid) {
        this.bid = bid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getRam() {
        return ram;
    }

    public void setRam(int ram) {
        this.ram = ram;
    }

    public int getGb() {
        return gb;
    }

    public void setGb(int gb) {
        this.gb = gb;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
